interface A{
    void eat();
}
interface B{
    void sleep();
}
interface C extends A,B{
    int a = 10;
}

public class Test implements C{

    @Override
    public void eat() {
        System.out.println("吃饭！");
    }

    @Override
    public void sleep() {
        System.out.println("睡觉！");
    }
}
